package com.gugee.ins.common.dal.service.dic.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gugee.ins.common.dal.mapper.dic.InsDicGenerationMapper;
import com.gugee.ins.common.dal.service.dic.InsDicGenerationDao;
import com.gugee.ins.common.model.mysql.dic.InsDicGeneration;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;


@Slf4j
@Service
public class InsDicGenerationDaoImpl extends ServiceImpl<InsDicGenerationMapper, InsDicGeneration> implements InsDicGenerationDao {

    @Override
    public List<InsDicGeneration> getByType(int type){
        return baseMapper.findByType(type);
    }
}
